package com.ds.api.model;

import java.io.Serializable;

public class TypeVerify implements Serializable {
    private Integer uid;

    private String sid;

    private String name;

    private String sidFront;

    private String sidOpposite;

    private String contactFront;

    private String contactOpposite;

    private String businessPic;

    private String companyPic;

    private String companyAddress;

    private String companyRange;

    private String remark;

    private Integer fkUserBasicinfoId;

    private String status;

    private String phone;

    private String verifyType;

    private String cardFront;

    private String cardOpposite;

    private String oppType;

    private static final long serialVersionUID = 1L;

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid == null ? null : sid.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getSidFront() {
        return sidFront;
    }

    public void setSidFront(String sidFront) {
        this.sidFront = sidFront == null ? null : sidFront.trim();
    }

    public String getSidOpposite() {
        return sidOpposite;
    }

    public void setSidOpposite(String sidOpposite) {
        this.sidOpposite = sidOpposite == null ? null : sidOpposite.trim();
    }

    public String getContactFront() {
        return contactFront;
    }

    public void setContactFront(String contactFront) {
        this.contactFront = contactFront == null ? null : contactFront.trim();
    }

    public String getContactOpposite() {
        return contactOpposite;
    }

    public void setContactOpposite(String contactOpposite) {
        this.contactOpposite = contactOpposite == null ? null : contactOpposite.trim();
    }

    public String getBusinessPic() {
        return businessPic;
    }

    public void setBusinessPic(String businessPic) {
        this.businessPic = businessPic == null ? null : businessPic.trim();
    }

    public String getCompanyPic() {
        return companyPic;
    }

    public void setCompanyPic(String companyPic) {
        this.companyPic = companyPic == null ? null : companyPic.trim();
    }

    public String getCompanyAddress() {
        return companyAddress;
    }

    public void setCompanyAddress(String companyAddress) {
        this.companyAddress = companyAddress == null ? null : companyAddress.trim();
    }

    public String getCompanyRange() {
        return companyRange;
    }

    public void setCompanyRange(String companyRange) {
        this.companyRange = companyRange == null ? null : companyRange.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Integer getFkUserBasicinfoId() {
        return fkUserBasicinfoId;
    }

    public void setFkUserBasicinfoId(Integer fkUserBasicinfoId) {
        this.fkUserBasicinfoId = fkUserBasicinfoId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getVerifyType() {
        return verifyType;
    }

    public void setVerifyType(String verifyType) {
        this.verifyType = verifyType == null ? null : verifyType.trim();
    }

    public String getCardFront() {
        return cardFront;
    }

    public void setCardFront(String cardFront) {
        this.cardFront = cardFront == null ? null : cardFront.trim();
    }

    public String getCardOpposite() {
        return cardOpposite;
    }

    public void setCardOpposite(String cardOpposite) {
        this.cardOpposite = cardOpposite == null ? null : cardOpposite.trim();
    }

    public String getOppType() {
        return oppType;
    }

    public void setOppType(String oppType) {
        this.oppType = oppType == null ? null : oppType.trim();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        TypeVerify other = (TypeVerify) that;
        return (this.getUid() == null ? other.getUid() == null : this.getUid().equals(other.getUid()))
            && (this.getSid() == null ? other.getSid() == null : this.getSid().equals(other.getSid()))
            && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
            && (this.getSidFront() == null ? other.getSidFront() == null : this.getSidFront().equals(other.getSidFront()))
            && (this.getSidOpposite() == null ? other.getSidOpposite() == null : this.getSidOpposite().equals(other.getSidOpposite()))
            && (this.getContactFront() == null ? other.getContactFront() == null : this.getContactFront().equals(other.getContactFront()))
            && (this.getContactOpposite() == null ? other.getContactOpposite() == null : this.getContactOpposite().equals(other.getContactOpposite()))
            && (this.getBusinessPic() == null ? other.getBusinessPic() == null : this.getBusinessPic().equals(other.getBusinessPic()))
            && (this.getCompanyPic() == null ? other.getCompanyPic() == null : this.getCompanyPic().equals(other.getCompanyPic()))
            && (this.getCompanyAddress() == null ? other.getCompanyAddress() == null : this.getCompanyAddress().equals(other.getCompanyAddress()))
            && (this.getCompanyRange() == null ? other.getCompanyRange() == null : this.getCompanyRange().equals(other.getCompanyRange()))
            && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()))
            && (this.getFkUserBasicinfoId() == null ? other.getFkUserBasicinfoId() == null : this.getFkUserBasicinfoId().equals(other.getFkUserBasicinfoId()))
            && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
            && (this.getPhone() == null ? other.getPhone() == null : this.getPhone().equals(other.getPhone()))
            && (this.getVerifyType() == null ? other.getVerifyType() == null : this.getVerifyType().equals(other.getVerifyType()))
            && (this.getCardFront() == null ? other.getCardFront() == null : this.getCardFront().equals(other.getCardFront()))
            && (this.getCardOpposite() == null ? other.getCardOpposite() == null : this.getCardOpposite().equals(other.getCardOpposite()))
            && (this.getOppType() == null ? other.getOppType() == null : this.getOppType().equals(other.getOppType()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getUid() == null) ? 0 : getUid().hashCode());
        result = prime * result + ((getSid() == null) ? 0 : getSid().hashCode());
        result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
        result = prime * result + ((getSidFront() == null) ? 0 : getSidFront().hashCode());
        result = prime * result + ((getSidOpposite() == null) ? 0 : getSidOpposite().hashCode());
        result = prime * result + ((getContactFront() == null) ? 0 : getContactFront().hashCode());
        result = prime * result + ((getContactOpposite() == null) ? 0 : getContactOpposite().hashCode());
        result = prime * result + ((getBusinessPic() == null) ? 0 : getBusinessPic().hashCode());
        result = prime * result + ((getCompanyPic() == null) ? 0 : getCompanyPic().hashCode());
        result = prime * result + ((getCompanyAddress() == null) ? 0 : getCompanyAddress().hashCode());
        result = prime * result + ((getCompanyRange() == null) ? 0 : getCompanyRange().hashCode());
        result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
        result = prime * result + ((getFkUserBasicinfoId() == null) ? 0 : getFkUserBasicinfoId().hashCode());
        result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
        result = prime * result + ((getPhone() == null) ? 0 : getPhone().hashCode());
        result = prime * result + ((getVerifyType() == null) ? 0 : getVerifyType().hashCode());
        result = prime * result + ((getCardFront() == null) ? 0 : getCardFront().hashCode());
        result = prime * result + ((getCardOpposite() == null) ? 0 : getCardOpposite().hashCode());
        result = prime * result + ((getOppType() == null) ? 0 : getOppType().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", uid=").append(uid);
        sb.append(", sid=").append(sid);
        sb.append(", name=").append(name);
        sb.append(", sidFront=").append(sidFront);
        sb.append(", sidOpposite=").append(sidOpposite);
        sb.append(", contactFront=").append(contactFront);
        sb.append(", contactOpposite=").append(contactOpposite);
        sb.append(", businessPic=").append(businessPic);
        sb.append(", companyPic=").append(companyPic);
        sb.append(", companyAddress=").append(companyAddress);
        sb.append(", companyRange=").append(companyRange);
        sb.append(", remark=").append(remark);
        sb.append(", fkUserBasicinfoId=").append(fkUserBasicinfoId);
        sb.append(", status=").append(status);
        sb.append(", phone=").append(phone);
        sb.append(", verifyType=").append(verifyType);
        sb.append(", cardFront=").append(cardFront);
        sb.append(", cardOpposite=").append(cardOpposite);
        sb.append(", oppType=").append(oppType);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}